package com.shire.shire_interface.dao.stat;

import com.shire.shire_interface.model.stat.CsInviteStat;
import com.shire.shire_interface.model.stat.CsInviteStatExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CsInviteStatDao {
    long countByExample(CsInviteStatExample example);

    int deleteByExample(CsInviteStatExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CsInviteStat record);

    int insertSelective(CsInviteStat record);

    List<CsInviteStat> selectByExample(CsInviteStatExample example);

    CsInviteStat selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CsInviteStat record, @Param("example") CsInviteStatExample example);

    int updateByExample(@Param("record") CsInviteStat record, @Param("example") CsInviteStatExample example);

    int updateByPrimaryKeySelective(CsInviteStat record);

    int updateByPrimaryKey(CsInviteStat record);
}